package me.liuyu.ymall.member.oauth.resource;

import me.liuyu.ymall.member.oauth.DO.MemberInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

/**
 * @Author liuyu E-mail: liuyu2783@163.com
 * @Date 2018/6/22 10:24
 * @Descrption
 * @Modified By
 */

public interface MemberResource {

    @RequestMapping(value = "getMemberInfo")
    MemberInfo getMemberInfo(@RequestParam("id") Integer id);

    @RequestMapping(value = "listMemberInfo")
    ArrayList<MemberInfo> listMemberInfo();
}
